<?
if(!empty($font_sample)) foreach($font_sample as $font_code => $sample_file)
{
    ?>
    <img src="<?=$sample_file?>" title="<?=$font_list[$font_code]?>"/>
    <?
}
?>